import { defineStore } from 'pinia'
import { ref } from 'vue'

export const SessionStore = defineStore(
    'session',
    () => {
        const menuindex = ref(0)
        return { menuindex }
    },
    {
        persist: {
            key: 'SessionStorage',
            storage: sessionStorage
        }
    }
)
